package com.beijing.cyou.module;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;

import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class DetailResult<T> extends Result {

	@JsonSerialize(include = Inclusion.NON_NULL)
    private T data;

    public T getData() {
		return data;
    }
    public void setData(T data) {
		this.data = data;
    }

	@Override
	public String toString() {
		return "DetailResult{" +"data=" + data +'}';
	}
	
}
